#include "stdafx.h"
#include "TestWorld.h"
#include "World.h"

using namespace PDMS::PDMSFrame;
using namespace PDMS::PDMSDomain;

CPPUNIT_TEST_SUITE_REGISTRATION( TestWorld );


TestWorld::TestWorld()
{
}


TestWorld::~TestWorld()
{
}

void TestWorld::TestWorldReg()
{
	Tree* pTree = PDMSClassRegister::Instance()->CreateObject( _T("World") );
	CPPUNIT_ASSERT( pTree != NULL );
	CPPUNIT_ASSERT( pTree->IsKindOf( UE_RUNTIME_CLASS( World ) ) );
}